@import './constant.less';

.title{
  height: .6rem;
  line-height: .6rem;
  /*background: #fff;*/
  font-size: .3rem;
  padding: .1rem .3rem .1rem .4rem;
  position: relative;
  &:before{
    position: absolute;
    content: "";
    border-radius: .08rem;
    height: .32rem;
    width: .12rem;
    background: #108ee9;
    top: .25rem;
    left: 0.2rem;
  }
  a{
    float: right;
    color: @font-color;
    font-size: .25rem;
    i{
      font-style: normal;
    }
    .iconfont{
      margin-left: 10px;
      font-size: .25rem;
    }
  }
}
.warden-list{
  .list-con-img{
    padding: .1rem .2rem .2rem;
    a{
      margin-bottom: .2rem;
      display: block;
    }
    img{
      display: block;
      width: 100%;
    }
  }
  .list-con{
    padding: 0 .1rem;
  }
  .list-item{
    width: 50%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 .1rem .2rem;
    a{
      display: block;
      position: relative;
      img{
        display: block;
        width: 100%;
      }
      .desc{
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        padding: .1rem .2rem;
        font-size: .3rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }
}
.activity-item{
  padding: 0 .2rem;
  a{
    padding: .2rem 0;
    display: block;
    border-bottom: 1px solid @border-color;
  }
  img{
    display: block;
    width: 2rem;
    height: 2rem;
    float: left;
  }
  .row-text{
    height: 2rem;
    padding-left: 2.3rem;
    .t{
      height: 1rem;
      line-height: .5rem;
      overflow: hidden;
      font-size: .35rem;
      color: #4d525d;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      margin-bottom: .2rem;
    }
    .b{
      color: #999;
      font-size: .25rem;
      line-height: .4rem;
      .fr{
        float: right;
        color: #fe435d;
      }
    }
  }
}

.img-item{
  min-height: 2rem;
  .img-box{
    position: relative;
    img{
      display: block;
      width: 100%;
    }
    p{
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.3);
      font-size: .28rem;
      line-height: .7rem;
      text-align: right;
      padding-right: .3rem;
      color: #fff;
    }
  }
  .row-text{
    padding: .2rem;
    .fr{
      float: right;
      margin-left: .2rem;
    }
    span, .t{
      font-size: .34rem;
      color: #666;
      i{
        display: block;
        color: #999;
        font-size: .25rem;
        font-style: normal;
      }
    }
  }
}

.text-item{
  margin: 0 .2rem;
  border-bottom: 1px solid @border-color;
  padding: .2rem 0;
  .t{
    line-height: .5rem;
    font-size: .3rem;
    color: #4d525d;
  }
  .con{
    color: #999;
    font-size: .25rem;
    line-height: .4rem;
  }
  .one-line{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .p{
    color: #999;
    font-size: .25rem;
    line-height: .3rem;
  }
}

.question-item{
  a{
    padding: .2rem;
    display: block;
  }
  .t{
    line-height: .5rem;
    font-size: .3rem;
    color: #4d525d;
    padding-right: 2rem;
    color: blue;
    position: relative;
    color: @primary-color;
    span{
      position: absolute;
      right: 0;
      border: 1px solid @border-color;
      border-radius: .3rem;
      color: #999;
      padding: 0 .15rem;
      font-size: .24rem;
    }
  }
  .p{
    color: #777;
    font-size: .28rem;
  }
  .con{
    color: #777;
    font-size: .32rem;
    line-height: .52rem;
    padding-top: .15rem;
  }
  .img{
    float: left;
    width: .8rem;
    height: .8rem;
    background: red;
    border-radius: .8rem;
  }
  .right{
    padding-left: 1rem;
  }
}

.que-temp{
  .question-item{
    padding: .2rem;
  }
}
.huifu-list{
  .question-item{
    border-bottom: 1px solid @border-color;
    padding: .2rem;
    &:last-child{
      border-bottom: 0;
    }
    .t{
      span{
        border: none;
      }
    }
  }
}
.fix-input{
  &:after{
    content: '';
    height: .91rem;
    width: 100%;
    display: block;
  }
  .am-list{
    position: fixed;
    left: 0;
    right: 0;
    bottom: .99rem;
  }
  .am-list-item .am-input-control{
    font-size: .34rem;
  }
}
.am-list-item .am-input-control input{
  font-size: .34rem;
}
